Skip to content

Fix buffering of two-sidded middle cover walls#1584

Merged
nstlaurent merged 2 commits intodevfrom
buffer-load-fix
Apr 24, 2026
Merged

Fix buffering of two-sidded middle cover walls#1584
nstlaurent merged 2 commits intodevfrom
buffer-load-fix

Conversation

@nstlaurent
Copy link
Copy Markdown
Collaborator

Include one sided as part of the lookup key now that two-sided middle cover walls need to render in the upper and lower portions.

Add safety checks so that the buffers don't overflow in case of changed data since the calculation happens on map start.

Don't call BufferSubData continually when a map is reloaded, just flag it to reupload at the end.

…could previously use the incorrect array which could overwrite incorrect data or crash
@nstlaurent nstlaurent merged commit 6bf9c34 into dev Apr 24, 2026
1 check passed
@nstlaurent nstlaurent deleted the buffer-load-fix branch April 24, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant